<div ng-controller="updatePwdCtrl" class="cry">
    <div class="cry_title">
        <h3 class="mainTitle">
            修改密码
        </h3>
    </div>
    <div class="container-fluid bg-white padding-top-20">
        <form id="modifyPwdForm" method="post"  class="form-horizontal">
            <!-- <div class="form-group">
                <label class="col-sm-2 control-label">
                    旧密码
                </label>
                <div class="col-sm-3">
                    <input type="password" placeholder="请输入旧密码" class="form-control"  ng-model="pwd.old" required>
                </div>
            </div> -->
            <div class="form-group">
                <label class="col-sm-2 control-label" >
                    新密码
                </label>
                <div class="col-sm-3">
                    <input ng-minlength="6" ng-maxlength="16" type="password" placeholder="6~16位字母和数字" name="u_password" class="form-control" ng-model="pwd.u_password">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">
                    验证新密码
                </label>
                <div class="col-sm-3">
                    <input ng-minlength="6" ng-maxlength="16" type="password" placeholder="请再次输入新密码"  name="again_pwd" class="form-control" ng-model="pwd.again_pwd">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">

                </label>
                <div class="col-sm-10">
                    <button type="button" class="btn btn-primary"  ng-click="update($event)">
                        保存
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>